include_directories(${KDEGAMES_INCLUDE_DIR})

set(klostcities_SRCS
    main.cpp
    mainwindow.cpp
    klcgame.cpp
    deck.cpp    
    expedition.cpp
    klcplayer.cpp
    klcmainplayer.cpp
    abstractdeck.cpp
)

#kde4_add_kcfg_files(klostcities_SRCS settings.kcfgc)

kde4_add_executable(klostcities ${klostcities_SRCS})
target_link_libraries(klostcities ${KDE4_KDEUI_LIBS} kdegames ${KDE4_KNOTIFYCONFIG_LIBS} ${KDE4_KNEWSTUFF2_LIBS})

install(TARGETS klostcities  DESTINATION ${BIN_INSTALL_DIR})
#install(FILES kdiamond.kcfg kdiamond.notifyrc kdiamondui.rc  DESTINATION ${DATA_INSTALL_DIR}/kdiamond)
install(FILES klostcities.knsrc  DESTINATION ${CONFIG_INSTALL_DIR})
#install(FILES kdiamond.desktop  DESTINATION ${XDG_APPS_INSTALL_DIR})
